home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Info 1993
/
Internet Info CD-ROM (Walnut Creek) (1993).iso
/
inet
/
protocols
/
mstd-1781-tests.doc
< prev
next >
Wrap
Text File
|
1991-07-10
|
73KB
|
1,822 lines
[ PROTOCOLS:MSTD-1781-TESTS.DOC ] [ 4/88 ]
12 March 1987 -1- Unisys Corporation
TM-WD-8801/610/01
DCA PROTOCOL LABORATORY
SIMPLE MAIL TRANSFER PROTOCOL (SMTP)
MIL-STD-1781
TRACEABILITY MATRIX
This Traceability Matrix provides information on the derivation,
organization, and function of tests specified for Simple Mail
Transfer Protocol (SMTP) within the Defense Communications Agency
(DCA) Protocol Laboratory.
This document is divided into five sections:
SMTP TRACEABILITY INDEX;
SMTP TESTS INDEX;
SMTP TEST SCENARIOS INDEX;
SMTP SCENARIO AND TEST DESCRIPTIONS.
SMTP TRACEABILITY INDEX: MIL-STD-1781 References vs. SMTP TEST
NUMBERS
This table cross-references applicable sections in MIL-STD-1781
with the SMTP Test Number regarding each required command,
option, or procedure.
SMTP TESTS INDEX: SMTP TEST NUMBERS vs. SMTP
COMMANDS/OPTIONS/PROCEDURES
This table shows the SMTP Test Numbers that may be regarded as
the principle tests of each SMTP command, option, or procedure.
SMTP TEST SCENARIOS INDEX: SMTP TEST SCENARIO FILES vs. SMTP
TEST NUMBERS
For SMTP, there is almost a one-to-one correspondence between
SMTP Test Numbers and SMTP Scenarios. Therefore, the
relationship between scenarios and tests is not described in
detail. The table shows, for each SMTP Test Number, the UNIX
filename of the SMTP Test Scenario files in which it is a test.
SMTP SCENARIO AND TEST DESCRIPTIONS
This section provides a description of each SMTP test objective
and an operational description of each test's verification
procedure.
12 March 1987 -2- Unisys Corporation
TM-WD-8801/610/01
SMTP TRACEABILITY INDEX: MIL-STD-1781 References vs. SMTP TEST
NUMBERS
The following table cross-references applicable sections in MIL
STD-1781 with the SMTP Test Number regarding each required
command, option, or procedure.
The SMTP Specifications
6.1.1.1 HELO command 3, 22
6.1.1.2 MAIL command 1, 2
6.1.1.3 RCPT command 4, 47, 31, 32
6.1.1.4 DATA command all
6.1.1.4.1 Response and further action all
6.1.1.5 SEND command 5, 6, 11
6.1.1.6 SOML command 7, 8
6.1.1.7 SAML command 9, 10
6.1.1.8 RSET command 12, 13, 14, 15
6.1.1.9 VRFY command 16, 17
6.1.1.10 EXPN command 18, 19
6.1.1.11 HELP command 20, 21
6.1.1.12 NOOP command 23, 24
6.1.1.13 QUIT command all
6.1.1.14 TURN command 25
6.1.2 Restrictions on command order 26, all
6.1.3 Command syntax 27, 28,29, all
6.1.3.2 SMTP syntax see the following
6.1.3.2.1 Numeric hostnames 30
6.1.3.3 Timestamp and return path lines 35, 38
6.2 SMTP replies see the following
6.2.1 Reply codes by function groups see 6.2.2
6.2.2 Numeric order list of reply codes see the following
6.2.2.a Reply code 211 20, 21
6.2.2.b Reply code 214 20, 21
6.2.2.c Reply code 220 all
6.2.2.d Reply code 221 all
6.2.2.e Reply code 250 all
6.2.2.f Reply code 251 all
6.2.2.g Reply code 354 all
6.2.2.h Reply code 421 all
6.2.2.i Reply code 450 all
6.2.2.j Reply code 451 all
6.2.2.k Reply code 452 all
6.2.2.1 Reply code 500 all
6.2.2.m Reply code 501 all
6.2.2.n Reply code 502 1, 14, 15, 16, 17, 18
19, 20, 21, 25
6.2.2.o Reply code 503 all
12 March 1987 -3- Unisys Corporation
TM-WD-8801/610/01
6.2.2.p Reply code 504 all
6.2.2.q Reply code 550 all
6.2.2.r Reply code 551 all
6.2.2.s Reply code 552 all
6.2.2.t Reply code 553 all
6.2.2.u Reply code 554 all
6.3 Sequencing of commands and replies 26
6.3.1 Command-reply sequences 39, all
6.5.1 Minimum implementation 1, 2, 3, 4, 22, 23
6.5.2 Transparency 40
6.5.2.1 ASCII characters 44, 45
6.5.3 Sizes see the following
6.5.3.a User Name 42
6.5.3.b Domain Name 30
6.5.3.c Path Name 36
6.5.3.d Command Line 41
6.5.3.e Reply Line 43
6.5.3.f Text Line 42
6.5.3.g Recipients Buffer 50
The SMTP Procedures
5.2 Mail 1, 2, 3, 26
5.3 Forwarding 4, 31, 32, 33, 34, 47
5.4 Verifying and expanding 16, 17, 18, 19
5.5 Sending and mailing 5, 6, 7, 8, 9, 10, 11, 14,
15, 46, 47
5.6 Opening and closing all
5.7 Relaying 4, 31, 32, 33, 34, 47
5.7.3 Prevention of loops in error 36
reporting
5.7.4 Undeliverable mail notification 37
5.8 Domains 30
5.9 Changing roles 25
5.9.1 Refusal to change roles 25
12 March 1987 -4- Unisys Corporation
TM-WD-8801/610/01
SMTP TESTS INDEX: SMTP TEST NUMBERS vs. SMTP
COMMANDS/OPTIONS/PROCEDURES
The following table shows the SMTP Test Numbers regarded as the
principle tests of each SMTP command, option, or procedure.
(R) - SMTP-Receiver test
(S) - SMTP-Sender test
SMTP Test Number Test Purpose
01 (R) Correct function of mail transaction commands
(HELO, MAIL, RCPT, DATA, QUIT)
02 (S) Correct function of mail transaction commands
(HELO, MAIL, RCPT, DATA, QUIT)
03 (R) Correct function of multiple HELO commands
04 (R) Correct function of multiple RCPT commands
05 (R) Correct function of SEND command
06 (R) Capability to process incorrect SEND command
07 (R) Correct function of SOML command
08 (S) Correct function of SOML command
09 (R) Correct function of SAML command
10 (S) Correct function of SAML command
11 (S) Correct function of SEND command
12 (R) Correct function of RSET command
13 (R) Correct function of RSET command after RCPT
14 (R) Correct function of RSET command after SOML
15 (R) Correct function of RSET command after SAML
16 (R) Correct function of VRFY command
17 (R) Correct function of VRFY command
18 (R) Correct function of EXPN command
19 (R) Correct function of EXPN command
20 (R) Correct function of HELP command
21 (R) Correct function of HELP command
22 (R) Correct function of NOOP command during a transaction
23 (R) Correct function of NOOP command during a transaction
24 (R) Correct function of NOOP command during a transaction
25 (R) Correct function of TURN command
26 (R) Capability to process incorrect command sequence
27 (R) Capability to process incorrect command syntax
28 (R) Capability to process incorrect command syntax
29 (S) Capability to process incorrect command syntax
30 (R) Capability to correctly process hostnames
31 (R) Capability to correctly process relay mail messages
32 (R) Capability to correctly process multiple mail messages
33 (R) Capability to correctly process relay mail through more than
two hosts
34 (R) Capability to correctly process incorrect relay mail messages
35 (R) Capability to correctly process reverse pathnames
36 (R) Capability to correctly process null reverse pathnames
12 March 1987 -5- Unisys Corporation
TM-WD-8801/610/01
37 (R) Capability to correctly process undeliverable mail
38 (R) Capability to correctly process timestamps
39 (S) Capability to correctly process incorrect command replies
40 (R) Capability to correctly process transparency
41 (R) Capability to correctly process excessive command length
42 (R) Capability to correctly process excessive text length
43 (S) Capability to correctly process excessive data length
44 (R) Capability to correctly process all ASCII characters
45 (S) Capability to correctly process all ASCII characters
46 (R) Capability to correctly process simultaneous SMTP transactions
12 March 1987 -6- Unisys Corporation
TM-WD-8801/610/01
SMTP TEST SCENARIOS INDEX: SMTP TEST SCENARIO FILES vs. SMTP
TEST NUMBERS
The following table shows, for each SMTP Test Number, the UNIX
filename of the SMTP Test Scenario files in which it is a test.
(r) - SMTP-Receiver test
(s) - SMTP-Sender test
TEST NUMBER UNIX FILENAME
01 r_basic
02 s_basic
03 r_helomulti
04 r_multircpt
05 r_send
06 r_sendbad
07 r_soml
08 s_soml
09 r_saml
10 s_saml
11 s_send
12 r_rset
13 r_rsetrcpt
14 r_rsetsoml
15 r_rsetsaml
16 r_vrfy
17 r_vrfy
18 r_expn
19 r_expn
20 r_help
21 r_help
22 r_nooptrans
23 r_nooptrans
24 r_nooptrans
25 r_turn
26 r_seqbad
27 r_badsyntax
28 r_badsyntax
29 s_syntaxbad
30 r_hostnames
31 r_relay
32 r_relaymult
33 r_relay3
34 r_relaybad
35 r_revpath
36 r_nullrevpath
37 r_undeliver
38 r_timestamp
39 s_replybad
40 r_transpar
41 r_longcmd
42 r_longtext
43 s_longline
44 r_ascii
45 s_ascii
46 r_multismtp
12 March 1987 -7- Unisys Corporation
TM-WD-8801/610/01
SMTP TEST AND SCENARIO DESCRIPTIONS
This section provides a description of each SMTP Scenario
objective and an operational description of each test's
verification procedure.
Scenario r_basic
Scenario r_basic is the first scenario of an SMTP test session.
This scenario tests the Receiver-SMTP Implementation Under Test
(IUT) for basic mail reception and the compliance of the IUT
Remote Driver (RD) to the DCA Protocol Laboratory SMTP Remote
Driver Specification. If the IUT and the RD do not produce good
results on the first run of this test scenario, then further
testing should be abandoned until the problems are corrected.
In scenario r_basic the Central Driver (CD) commands the
Laboratory Driver (LD) to mail a message to the IUT. The CD then
verifies the receipt of the message by commanding the RD to read
the IUT's mail queue and send the results back to the CD using
the RD spool command. The CD verifies that the correct command
responses and mail message were received.
TEST 1: BASIC MAIL RECEPTION (RECEIVER-SMTP)
Does the IUT correctly receive a mail message and store it in its
mail queue?
ACTION: The CD establishes a connection with the IUT. The CD
conducts a basic mail transaction (HELO, MAIL, RCPT, DATA, QUIT)
sending a message containing a unique message identification
number. The RD reads the IUT mail queue and sends back the mail
message to the CD in a Test Scenario Language (TSL) data packet.
VERIFICATION: The CD searches the contents of the TSL data
packet for the correct command replies and message identification
(id) number.
SUCCESS: The correct command replies and message id are found.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Incorrect command replies received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario s_basic
Scenario s_basic tests the Sender-SMTP IUT for basic mail
transmission capability. If the Sender-SMTP IUT and RD do not
produce good results on the first run of this test scenario, then
further testing should be abandoned until the problems are
corrected.
12 March 1987 -8- Unisys Corporation
TM-WD-8801/610/01
In scenario s_basic the CD commands the RD to place a mail
message with a known message identification number on the IUT's
queue. The mail message is addressed to the Reference Receiver
SMTP at the Protocol Laboratory. The Sender-SMTP IUT should start
a mail transaction and send the message. The CD confirms the
receipt of the message by reading the laboratory mail queue. The
CD verifies that the correct mail message was received by
searching for the known message identification number.
TEST 2: BASIC MAIL TRANSMISSION (SENDER-SMTP)
Does the IUT Sender-SMTP correctly format and transmit a mail
message?
ACTION: The CD establishes a connection with the IUT. The CD
commands the RD to place a mail message with a unique id number
on the IUT mail queue. The Sender-SMTP IUT should find the
message in the queue and start a mail transaction. The mail
message is sent to the Reference Receiver-SMTP. The Reference
places the message on the Lab mail queue. The CD commands the LD
to spool the mail message. The LD passes the mail message,
including the id number, to the CD in a TSL data packet.
VERIFICATION: The CD searches for the correct command sequences
and the correct message id number.
SUCCESS: The correct command sequences and message id are found.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command sequences are incorrect;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_helomulti
Scenario r_helomulti tests the Receiver-SMTP IUT capability to
correctly process multiple HELO commands after the start of a
mail transaction.
TEST 3: MULTIPLE HELO COMMANDS DURING TRANSACTION
Does the IUT correctly process multiple HELO commands after the
start of a mail transaction?
ACTION: The CD establishes a connection with the IUT. Multiple
HELO commands are issued, followed by a QUIT command.
12 March 1987 -9- Unisys Corporation
TM-WD-8801/610/01
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives a command reply of 250 for each HELO command.
FAILURE: Any of the following indicates an IUT failure:
Command replies of 500, 501, 504, or 421;
Command replies other than those listed above;
Connection not made;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses.
Scenario r_multircpt
Scenario r_multircpt tests the Receiver-SMTP IUT capability to
process multiple RCPT commands during a mail transaction.
TEST 4: MULTIPLE RCPT COMMANDS DURING A TRANSACTION
Does the IUT correctly process multiple recipients?
ACTION: The CD establishes a connection with the IUT. The CD
first sends the HELO and MAIL commands. Then the CD sends
multiple RCPT commands.
VERIFICATION: The CD searches for the correct command replies.
The CD also checks the mail queue for multiple mail messages.
All messages should be received with the correct message id
number.
SUCCESS: CD receives a command reply of 250 or 251, and all
messages are received with the correct message id.
FAILURE: Any of the following indicates an IUT failure:
Command error reply of 500, 501, 503, 421
received;
Command failure reply of 550, 551, 552 553 450
451, or 452 received;
Connection not made;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
A message id is wrong or nonexistent.
Scenario r_send
Scenario r_send tests the Receiver-SMTP IUT capability to process
the SEND command. The CD commands the LD to send a mail message
with a known identification number to the destination IUT's
terminal screen (not to a mailbox). The tester must verify the
correct receipt of the message by manually checking the terminal
screen.
12 March 1987 -10- Unisys Corporation
TM-WD-8801/610/01
TEST 5: SEND COMMAND DURING A TRANSACTION
Does the IUT correctly process the SEND command?
ACTION: The CD establishes a connection with the IUT. The CD
commands the LD to issue the SEND command with a known message
identification number. The message is displayed on the
destination terminal screen.
VERIFICATION: The CD searches for the correct command reply and
receives manual verification of correct message receipt at
destination terminal. Also, no mail message should have been
spooled onto IUT mail queue.
SUCCESS: The CD receives a command reply of 250, a manual
verification of message receipt, and no mail message is found on
IUT mail queue.
FAILURE: Any of the following indicates an IUT failure:
Command failure reply of 552, 451, or 452;
Command error reply of 500, 501, 502, or 421;
Mail message found on IUT mail queue;
Connection not made;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_sendbad
Scenario r_sendbad tests the Receiver-SMTP IUT capability to
process the SEND command with an undeliverable destination
address. If the IUT offers SEND service, then the CD commands
the LD to send a mail message to the IUT. The message will
always be undeliverable since the message will be addressed to a
test user who would not be logged on. Therefore, the IUT should
notify the CD of an undeliverable message.
TEST 6: SEND COMMAND WITH AN UNDELIVERABLE ADDRESS
Does the IUT correctly process undeliverable mail using the SEND
command?
ACTION: The CD establishes a connection with the IUT. The CD
commands the LD to send a mail message to a nonexistent user.
VERIFICATION: The CD searches for the correct error reply to the
RCPT command (the RCPT command is used in conjunction with the
SEND command).
SUCCESS: The CD receives an error reply of 550 or 421.
12 March 1987 -11- Unisys Corporation
TM-WD-8801/610/01
FAILURE: Any of the following indicates an IUT failure:
Command success reply of 250, or 251 received;
Command error reply of 500, 501, or 503 received;
Command failure reply of 551, 552, 553, 450, 451, or 452;
Connection not made;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_soml
Scenario r_soml tests the Receiver-SMTP IUT capability to process
the SOML command. The CD commands the LD to send or mail a mail
message with a known identification number to the destination
IUT's terminal screen or mailbox. If the message does not get
placed onto the IUT mail queue, then the tester must verify the
correct receipt of the message by manually checking the terminal
screen.
TEST 7: SOML COMMAND DURING A TRANSACTION (RECEIVER-SMTP)
Does the Receiver-SMTP IUT correctly process the SOML command?
ACTION: The CD establishes a connection with the IUT. The CD
commands the LD to issue the SOML command with a known message
identification number. The message is either displayed on the
destination terminal screen or placed onto the IUT mail queue,
but not both.
VERIFICATION: The CD searches for the correct command reply and,
if the message was not placed onto the IUT mail queue, receives
manual verification of correct message receipt at destination
terminal. Also, no mail message should have been placed onto the
IUT mail queue if the message was displayed at the destination
terminal.
SUCCESS: The CD receives a command reply of 250, a manual
verification of message receipt at destination terminal, and no
mail message is found on IUT mail queue; or, a 250 reply with no
message received at the destination terminal, but a correct
message placed onto the IUT mail queue.
FAILURE: Any of the following indicates an IUT failure:
Command failure reply of 552, 451, or 452;
Command error reply of 500, 501, 502, or 421;
Connection not made;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
12 March 1987 -12- Unisys Corporation
TM-WD-8801/610/01
Scenario s_soml
Scenario s_soml tests the Server-SMTP IUT capability to process
the SOML command. The CD commands the RD to queue a mail message
with a known identification number. The IUT should find the
message in the queue and send or mail the message to the
destination terminal screen or mailbox. If the message does not
get placed onto the laboratory mail queue, then the lab tester
must verify the correct receipt of the message by manually
checking the destination terminal screen. The destination is the
tsl mailbox or terminal.
TEST 8: SOML COMMAND DURING A TRANSACTION (SENDER-SMTP)
Does the Sender-SMTP IUT correctly process the SOML command?
ACTION: The CD establishes a connection with the RD. The CD
commands the RD to queue a mail message with a known
identification number. The IUT should find the message in the
queue and send or mail the message to the laboratory destination
terminal screen or mailbox. The destination is the tsl mailbox
or terminal. If the message does not get placed onto the
laboratory mail queue, then the lab tester must verify the
correct receipt of the message by manually checking the
destination terminal screen.
VERIFICATION: The CD searches for the correct message
identification number in the laboratory mail queue. If the
message was not placed onto the mail queue, then manual
verification of correct message receipt at destination terminal
is performed by lab tester. Also, no mail message should have
been placed onto the mail queue if the message was displayed at
the destination terminal.
SUCCESS: The CD finds the correct message identification number
in the mail queue and no message appears at the destination
terminal. Or, the message appears at the destination terminal
and no message is found in the mail queue.
FAILURE: Any of the following indicates an IUT failure:
Message does not appear in either the destination
mail queue or at the destination terminal, or
appears at both;
Connection not made;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
12 March 1987 -13- Unisys Corporation
TM-WD-8801/610/01
Scenario r_saml
Scenario r_saml tests the Receiver-SMTP IUT capability to process
the SAML command. The CD commands the LD to send and mail a mail
message with a known identification number to the destination
IUT's terminal screen and mailbox. The remote tester must verify
the correct receipt of the message by manually checking the
terminal screen. The CD determines whether the mail message was
correctly placed on the IUT mail queue.
TEST 9: SAML COMMAND DURING A TRANSACTION (RECEIVER-SMTP)
Does the Receiver-SMTP IUT correctly process the SAML command?
ACTION: The CD establishes a connection with the IUT. The CD
commands the LD to issue the SAML command with a known message
identification number. The message is displayed on the
destination terminal screen and placed onto the IUT mail queue.
VERIFICATION: The CD searches for the correct command reply and
receives manual verification of correct message receipt at the
destination terminal. The mail message should have been placed
onto the IUT mail queue and the message displayed at the
destination terminal.
SUCCESS: The CD receives a command reply of 250, a manual
verification of correct message receipt at destination terminal,
and the mail message is found on the IUT mail queue.
FAILURE: Any of the following indicates an IUT failure:
Command failure reply of 552, 451, or 452;
Command error reply of 500, 501, 502, or 421;
Connection not made;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario s_saml
Scenario s_saml tests the Server-SMTP IUT capability to process
the SAML command. The CD commands the RD to queue a mail message
with a known identification number. The IUT should find the
message in the queue and send and mail the message to the
destination terminal screen and mailbox. The destination is the
tsl mailbox or terminal at the laboratory. The CD determines
whether the mail message was correctly placed on the laboratory
mail queue. The lab tester verifies the correct receipt of the
message at the destination terminal by manually checking the
destination terminal screen.
12 March 1987 -14- Unisys Corporation
TM-WD-8801/610/01
TEST 10: SAML COMMAND DURING A TRANSACTION (SENDER-SMTP)
Does the Sender-SMTP IUT correctly process the SAML command?
ACTION: The CD establishes a connection with the RD. The CD
commands the RD to queue a mail message with a known
identification number. The IUT should find the message in the
queue and send and mail the message to the laboratory destination
terminal screen and mailbox. The destination is the tsl mailbox
or terminal. The lab tester must verify the correct receipt of
the message by manually checking the destination terminal screen.
VERIFICATION: The CD searches for the correct message
identification number in the laboratory mail queue. Manual
verification of the correct message receipt at the destination
terminal is performed by the lab tester. The mail message should
have been placed onto the mail queue and the message displayed at
the destination terminal.
SUCCESS: The CD finds the correct message identification number
in the mail queue and the correct message appears at the
destination terminal.
FAILURE: Any of the following indicates an IUT failure:
Message does not appear in either the destination
mail queue or at the destination terminal, or
appears at one but not the other;
Connection not made;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario s_send
Scenario s_send tests the Server-SMTP IUT capability to process
the SEND command. The CD commands the RD to queue a mail message
with a known identification number. The IUT should find the
message in the queue and send the message to the destination
terminal screen. The lab tester must verify the correct receipt
of the message by manually checking the destination terminal
screen. The destination is the tsl terminal.
12 March 1987 -15- Unisys Corporation
TM-WD-8801/610/01
TEST 11: SEND COMMAND DURING A TRANSACTION (SENDER-SMTP)
Does the Sender-SMTP IUT correctly process the SEND command?
ACTION: The CD establishes a connection with the RD. The CD
commands the RD to queue a mail message with a known
identification number. The IUT should find the message in the
queue and send the message to the laboratory destination terminal
screen. The destination is the tsl terminal. The lab tester
must verify the correct receipt of the message by manually
checking the destination terminal screen.
VERIFICATION: Manual verification of the correct message receipt
at the destination terminal is performed by the lab tester. No
mail message should have been placed onto the mail queue. The CD
searches for the correct message identification number in the
laboratory mail queue. If the message was placed onto the mail
queue, then the IUT fails.
SUCCESS: The CD does not find the correct message identification
number in the mail queue and the correct message appears at the
destination terminal.
FAILURE: Any of the following indicates an IUT failure:
Message does not appear at the destination
terminal, or appears in destination mail queue;
Connection not made;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_rset
Scenario r_rset tests the Receiver-SMTP IUT capability to
correctly process the RSET command during a transaction.
TEST 12: RSET COMMAND DURING A TRANSACTION
Does the IUT correctly process the RSET command during a
transaction?
ACTION: The CD establishes a connection with the IUT. The CD
commands the IUT to start a mail transaction by issuing the HELO
and MAIL commands. Then the RSET command is issued and the
transaction is resumed.
12 March 1987 -16- Unisys Corporation
TM-WD-8801/610/01
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives a command reply of 250 for the RSET
command and the IUT is able to complete the mail transaction.
FAILURE: Any of the following indicates an IUT failure:
Command replies of 500, 501, 504, or 421;
Command replies other than those listed above;
Connection not made;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_rsetrcpt
Scenario r_rsetrcpt tests the Receiver-SMTP IUT capability to
correctly process the RSET command after a RCPT command has been
issued.
TEST 13: RSET COMMAND AFTER RCPT
Does the IUT correctly process the RSET command after a RCPT
command?
ACTION: The CD establishes a connection with the IUT. The CD
commands the IUT to start a mail transaction by issuing the HELO,
MAIL, and RCPT commands. Then the RSET command is issued and the
transaction is resumed.
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives a command reply of 250 for the RCPT
command and the IUT is able to complete the mail transaction.
FAILURE: Any of the following indicates an IUT failure:
Command replies of 500, 501, 504, or 421;
Command replies other than those listed above;
Connection not made;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_rsetsoml
Scenario r_rsetsoml tests the Receiver-SMTP IUT capability to
correctly process the RSET command during a SOML transaction.
12 March 1987 -17- Unisys Corporation
TM-WD-8801/610/01
TEST 14: RSET COMMAND DURING A SOML TRANSACTION
Does the IUT correctly process the RSET command during a SOML
transaction?
ACTION: The CD establishes a connection with the IUT. The CD
commands the IUT to start a send or mail transaction by issuing
the HELO and SOML commands. Then the RSET command is issued and
the transaction is resumed.
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives a command reply of 250 for the RSET
command and the IUT is able to complete the mail transaction.
FAILURE: Any of the following indicates an IUT failure:
Command replies of 500, 501, 504, or 421;
Command replies other than those listed above;
Connection not made;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_rsetsaml
Scenario r_rsetsaml tests the Receiver-SMTP IUT capability to
correctly process the RSET command during a SAML transaction.
TEST 15: RSET COMMAND DURING A SAML TRANSACTION
Does the IUT correctly process the RSET command during a SAML
transaction?
ACTION: The CD establishes a connection with the IUT. The CD
commands the IUT to start a send and mail transaction by issuing
the HELO and SAML commands. Then the RSET command is issued and
the transaction is resumed.
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives a command reply of 250 for the RSET
command and the IUT is able to complete the mail transaction.
FAILURE: Any of the following indicates an IUT failure:
Command replies of 500, 501, 504, or 421;
Command replies other than those listed above;
Connection not made;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
12 March 1987 -18- Unisys Corporation
TM-WD-8801/610/01
Scenario r_vrfy
Scenario r_vrfy tests the Receiver-SMTP IUT capability to
correctly process the VRFY command inside and outside of a
transaction.
TEST 16: VRFY COMMAND OUTSIDE A TRANSACTION
Does the IUT correctly process the VRFY outside of a transaction?
ACTION: The CD establishes a connection with the IUT. The CD
issues the HELO command followed by the VRFY command. The
username "test" is used as the parameter to the VRFY command.
The remote site must have an account with username "test" for the
test to succeed.
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives a command reply of 250 or 251 for the
VRFY command.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command reply of 500, 501, 502, 421, or 550.
Command reply other than those listed above;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
TEST 17: VRFY COMMAND DURING A TRANSACTION
Does the IUT correctly process the VRFY during a transaction?
ACTION: The CD establishes a connection with the IUT. The CD
issues the HELO and MAIL commands followed by the VRFY command,
and then the RCPT command followed by the VRFY command. The
username "test" is used as the parameter to the VRFY command.
The remote site must have an account with username "test" for the
test to succeed.
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives a command reply of 250 or 251 for the
VRFY command.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command reply of 500, 501, 502, 421, 550, 551, or 553.
Command reply other than those listed above;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
12 March 1987 -19- Unisys Corporation
TM-WD-8801/610/01
Scenario r_expn
Scenario r_expn tests the Receiver-SMTP IUT capability to
correctly process the EXPN command inside and outside of a mail
transaction.
TEST 18: EXPN COMMAND OUTSIDE A TRANSACTION
Does the IUT correctly process the EXPN outside of a transaction?
ACTION: The CD establishes a connection with the IUT. The CD
issues the HELO command followed by the EXPN command. The
groupname "test group" is used as the parameter to the EXPN
command. The remote site must have a group with groupname
"test group" composed at least of users "test", "test2", and
"test3", with "test3" being last in order, for the test to
succeed.
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives a command reply of 250 for the EXPN
command.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command reply of 500, 501, 502, 421, or 550 received;
Command reply other than those listed above received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
TEST 19: EXPN COMMAND DURING A TRANSACTION
Does the IUT correctly process the EXPN during a transaction?
ACTION: The CD establishes a connection with the IUT. The CD
issues the HELO and MAIL commands followed by the EXPN command,
and then the RCPT command followed by the EXPN command. The
groupname "test group" is used as the parameter to the EXPN
command. The remote site must have a group with groupname
"test group"< composed at least of of users "test", "test2",
"test3", with "test3" being last in order, for the test to
succeed.
12 March 1987 -20- Unisys Corporation
TM-WD-8801/610/01
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives a command reply of 250 for the EXPN
command.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command reply of 500, 501, 502, 421, or 550.
Command reply other than those listed above;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_help
Scenario r_help tests the Receiver-SMTP capability to correctly
process the EXPN command inside and outside of a mail
transaction.
TEST 20: HELP COMMAND OUTSIDE A TRANSACTION
Does the IUT correctly process the HELP command outside of a
transaction?
ACTION: The CD establishes a connection with the IUT. The CD
issues the HELO command, immediately followed by the HELP
command.
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives a command reply of 211 or 214 for the
HELP command.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command replies of 500, 501, 502, 504 or 421;
Command reply other than those listed above;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
12 March 1987 -21- Unisys Corporation
TM-WD-8801/610/01
TEST 21: HELP COMMAND DURING A TRANSACTION
Does the IUT correctly process the HELP command during a
transaction?
ACTION: The CD establishes a connection with the IUT. The CD
issues the HELO and MAIL commands, followed by the HELP command.
Then the RCPT command is issued followed by the HELP command.
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives a command reply of 211 or 214 for the
HELP command.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command replies of 500, 501, 502, 504 or 421;
Command reply other than those listed above;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_nooptrans
Scenario r_nooptrans tests the Receiver-SMTP capability to
correctly process a sequence of commands, HELO and QUIT, that
establishes an SMTP connection and then closes it without
initiating a mail transaction. Then, the NOOP command is tested
inside and outside a mail transaction.
TEST 22: HELO-QUIT SEQUENCE AND NOOP COMMAND INSIDE AND OUTSIDE
TRANSACTION
Does the IUT correctly process the HELO-QUIT command sequence and
the NOOP command inside and outside of a mail transaction?
ACTION: The CD establishes a connection with the IUT. The HELO
command is issued, immediately followed by the QUIT command. A
new connection is established, and the NOOP command is issued at
various places inside and outside of a mail transaction.
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives a command reply of 250 for the NOOP
command.
12 March 1987 -22- Unisys Corporation
TM-WD-8801/610/01
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command replies of 500 or 421 received;
Command reply other than those listed above
received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
TEST 23: NOOP COMMAND OUTSIDE TRANSACTION
Does the IUT correctly process the NOOP command outside of a mail
transaction?
ACTION: The CD establishes a connection with the IUT. The HELO
command is issued, followed by the NOOP command and the QUIT
command.
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives a command reply of 250 for the NOOP
command.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command replies of 500 or 421 received;
Command reply other than those listed above received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
TEST 24: NOOP COMMAND DURING TRANSACTION
Does the IUT correctly process the NOOP command during a mail
transaction?
ACTION: The CD establishes a connection with the IUT. The HELO
command is issued, followed by the MAIL and NOOP commands. The
RCPT command is then issued followed by another NOOP command.
The CD completes the transaction and closes the connection.
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives a command reply of 250 for the NOOP
command and the mail message was sent correctly.
12 March 1987 -23- Unisys Corporation
TM-WD-8801/610/01
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command replies of 500 or 421 received;
Command reply other than those listed above received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_turn
Scenario r_turn tests the Receiver- and Sender-SMTP IUT
capability to correctly process the TURN command. This scenario
begins by testing the IUT in its Receiver-SMTP mode. If the TURN
command is implemented and the IUT accepts the command, then the
scenario tests the IUT in its Sender-SMTP mode.
TEST 25: TURN COMMAND
Does the IUT successfully process the TURN command?
ACTION: The CD establishes a connection with the IUT. The HELO
command is issued, followed by the TURN command. If the TURN
command is accepted by the IUT, then the IUT is tested as a
Sender-SMTP. The CD commands the RD to queue a mail message with
a known identification number onto the IUT mail queue. The SMTP
connection is then closed and the CD commands the Reference SMTP
to listen for a connection attempt from the IUT. The mail
transaction is then tested as normal.
VERIFICATION: The CD searches for the correct command replies
and the correct mail message identification number.
SUCCESS: The CD receives a command reply of 250 and the correct
message identification number, or the CD receives the command
reply 502 indicating "Command not implemented."
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command replies of 500 or 503 received;
Command reply other than those listed above
received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
12 March 1987 -24- Unisys Corporation
TM-WD-8801/610/01
Scenario r_seqbad
Scenario r_seqbad tests the Receiver-SMTP capability to correctly
process an invalid sequence of commands.
TEST 26: INVALID SEQUENCE OF COMMANDS
Does the IUT correctly process an invalid sequence of commands?
ACTION: The CD establishes a connection with the IUT. The HELO
command is issued, followed by the RCPT command. The IUT should
send an error reply to the untimely RCPT command. Then the MAIL
is issued, followed by the DATA command. The IUT should issue an
error reply to the untimely DATA command. Finally a valid
sequence of commands is issued.
VERIFICATION: The CD searches for the correct error replies,
command replies, and message identification number.
SUCCESS: The CD receives error replies of 503 for invalid
sequences, command replies of 250 for valid sequences, and the
correct message identification number.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Successful command replies received when error
replies are expected, and vice versa;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_badsyntax
Scenario r_badsyntax tests the Receiver-SMTP capability to
correctly process commands with invalid syntax.
TEST 27: INVALID COMMAND SYNTAX
Does the IUT correctly process commands with incorrect syntax?
ACTION: The CD establishes a connection with the IUT. The HELO
command is issued followed by a MAIL command with incorrect
syntax. The IUT should reply negatively. The CD then issues a
MAIL command with correct syntax. The CD then issues a RCPT
command with incorrect syntax. The IUT should reply negatively.
The CD then issues a RCPT command with correct syntax. The CD
completes the mail transaction and closes the connection.
12 March 1987 -25- Unisys Corporation
TM-WD-8801/610/01
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives error replies of 500 for incorrect
syntaxes, command replies of 250 for correct syntaxes, and the
correct message identification number.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Successful command replies received when error
replies are expected, and vice versa;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
TEST 28: INVALID COMMAND SYNTAX (NONEXISTENT COMMAND)
Does the IUT correctly process commands with incorrect syntax
(nonexistent command)?
ACTION: The CD establishes a connection with the IUT. The HELO
command is issued followed by MAIL and RCPT commands with correct
syntax. The IUT should reply positively. The CD then issues a
nonexistent command. The IUT should reply negatively. The CD
then correctly completes the mail transaction and closes the
connection.
VERIFICATION: The CD searches for the correct command replies.
SUCCESS: The CD receives error replies of 500 for incorrect
syntaxes, command replies of 250 for correct syntaxes, and the
correct message identification number.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Successful command replies received when error
replies are expected, and vice versa;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario s_syntaxbad
Scenario s_syntaxbad tests the Sender-SMTP IUT capability to
correctly process reply codes with incorrect syntax.
12 March 1987 -26- Unisys Corporation
TM-WD-8801/610/01
TEST 29: REPLY CODES WITH INCORRECT SYNTAX
Does the IUT correctly process reply codes with incorrect syntax?
ACTION: The CD establishes a connection with the IUT. The CD
commands the RD to place a mail message with a known
identification number onto the IUT mail queue. The CD then
commands the Reference to listen for a connection attempt from
the IUT. The CD replies correctly to the open request and the
HELO, MAIL, and RCPT commands, but replies incorrectly to the
DATA command. The IUT should reset the connection with the RSET
command and then attempt to complete the transaction.
VERIFICATION: The CD searches for the correct command sequences.
SUCCESS: The CD receives the RSET command after sending an
incorrect reply code.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Incorrect command received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_hostnames
Scenario r_hostnames tests the Receiver-SMTP capability to
correctly process hostnames in all valid domain formats.
TEST 30: HOSTNAME FORMATS
Does the IUT correctly process different hostname formats?
ACTION: The CD establishes a connection with the IUT. Mail is
sent to the IUT with different hostname formats.
VERIFICATION: The CD searches for the correct command replies
and message identification number.
SUCCESS: The CD receives a command reply of 250 for all RCPT
commands using valid hostname formats.
12 March 1987 -27- Unisys Corporation
TM-WD-8801/610/01
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
RCPT command failure reply of 550, 551, 552, 553,
450, 451, or 452 received;
RCPT command error reply of 500, 501, 503, or 421 received;
Command reply other than those listed above received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_relay
Scenario r_relay tests the Receiver-SMTP IUT capability to relay
mail messages if the service is offered.
TEST 31: MESSAGE RELAYING
Does the IUT correctly relay messages?
ACTION: The CD establishes a connection with the IUT. The CD
issues the HELO and MAIL commands. The RCPT command is issued
with a pathname containing a relay. The destination mailbox is
the "test" account.
VERIFICATION: The CD searches for the correct command reply and
the correct mail message identification number.
SUCCESS: The CD receives a command reply of 250 for the RCPT
command with the relay pathname.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
RCPT command success reply of 251 received, since
the user "test" should be local;
RCPT command failure reply of 550, 551, 552, 553,
450, 451, or 452 received;
RCPT command error reply of 500, 501, 503, or 421 received;
Command reply other than those listed above received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_relaymult
Scenario r_relaymult tests the Receiver-SMTP IUT capability to
relay multiple mail messages if the service is offered.
12 March 1987 -28- Unisys Corporation
TM-WD-8801/610/01
TEST 32: MULTIPLE MESSAGE RELAYING
Does the IUT correctly relay multiple messages?
ACTION: The CD establishes a connection with the IUT. The CD
issues the HELO and MAIL commands. The RCPT command is issued
three times with a pathname containing a relay. The destination
mailboxes are the "test", "test2", "test3" accounts.
VERIFICATION: The CD searches for the correct command replies
and the correct mail message identification numbers.
SUCCESS: The CD receives a command reply of 250 for the RCPT
commands with relay pathnames.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
RCPT command success reply of 251 received, since
the user "test", "test2", and "test3" should be local;
RCPT command failure reply of 550, 551, 552, 553,
450, 451, or 452 received;
RCPT command error reply of 500, 501, 503, or 421 received;
Command reply other than those listed above received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_relay3
Scenario r_relay3 tests the Receiver-SMTP IUT capability to relay
mail messages through multiple hosts if the service is offered.
TEST 33: MESSAGE RELAYING THROUGH MULTIPLE HOSTS
Does the IUT correctly relay messages through multiple hosts?
ACTION: The CD establishes a connection with the IUT. The CD
issues the HELO and MAIL commands. The RCPT command is issued
with a pathname containing a relay through multiple hosts. The
destination mailbox is the "test" account.
VERIFICATION: The CD searches for the correct command reply and
the correct mail message identification number.
SUCCESS: The CD receives a command reply of 250 for the RCPT
command with the relay pathname.
12 March 1987 -29- Unisys Corporation
TM-WD-8801/610/01
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
RCPT command success reply of 251 received, since
the user "test" should be local;
RCPT command failure reply of 550, 551, 552, 553,
450, 451, or 452 received;
RCPT command error reply of 500, 501, 503, or 421 received;
Command reply other than those listed above received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_relaybad
Scenario r_relaybad tests the Receiver-SMTP IUT capability to
notify the sender of undeliverable messages if the service is
offered.
TEST 34: UNDELIVERABLE MESSAGES
Does the IUT correctly notify the sender of undeliverable
messages?
ACTION: The CD establishes a connection with the IUT. The CD
issues the HELO and MAIL commands. The RCPT command is issued
with a pathname containing a nonexistent username. The
destination mailbox is a fictitious account. The name used is
"no relay."
VERIFICATION: The CD searches for the correct command error
reply and the correct mail message identification number.
SUCCESS: The CD receives a command failure reply of 550 for the
RCPT command with the nonexistent username.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
RCPT command success reply of 250 or 251 received;
RCPT command failure reply of 551, 552, 553, 450,
451, or 452 received;
RCPT command error reply of 500, 501, 503, or 421 received;
Command reply other than those listed above received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
12 March 1987 -30- Unisys Corporation
TM-WD-8801/610/01
Scenario r_revpath
Scenario r_revpath tests the Receiver-SMTP IUT capability to
prepend the reverse-path to an incoming message.
TEST 35: REVERSE-PATH
Does the IUT prepend the reverse-path to incoming messages?
ACTION: The CD establishes a connection with the IUT. The CD
completes a mail transaction (HELO, MAIL, RCPT, DATA, and QUIT).
The CD then commands the IUT to spool the message.
VERIFICATION: The CD searches for the correct command reply
codes and the correct reverse-path name in the mail message.
SUCCESS: The CD receives successful command replies and the
correct reverse-path name ("FROM:<tsl@protolabb>") is prepended
to the message.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command reply errors;
Reverse-path name wrong or nonexistent;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_nullrevpath
Scenario r_nullrevpath tests the Receiver-SMTP IUT capability to
prevent loops in error reporting. Loops are prevented by
allowing a null reverse-path to be specified. This scenario
verifies that the IUT accepts null reverse-paths.
TEST 36: PREVENTION OF ERROR LOOPS (NULL REVERSE-PATH)
Does the IUT accept null reverse-paths?
ACTION: The CD establishes a connection with the IUT. The CD
issues the HELO command, then MAIL commands with null reverse
paths. The mail transaction is completed as normal. The CD then
commands the IUT to spool the mail message.
VERIFICATION: The CD searches for the correct command reply
codes and the correct reverse-path name in the mail message.
12 March 1987 -31- Unisys Corporation
TM-WD-8801/610/01
SUCCESS: The CD receives successful command replies and the
correct null reverse-path name ("FROM:<>") is prepended to the
message.
FAILURE: Any of the following indicates an IUT failure;
Connection not made;
Command reply errors;
Null reverse-path wrong or nonexistent;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_undeliver
Scenario r_undeliver tests the Receiver-SMTP capability to
process mail addressed to a nonexistent user.
TEST 37: UNDELIVERABLE MAIL
Does the IUT correctly process mail addressed to a nonexistent
user?
ACTION: The CD establishes a connection with the IUT. The HELO
and MAIL commands are sent. Then the CD issues the RCPT command
with a nonexistent user ("XXX NO SUCH dude" followed by a RCPT
command with a valid user name ("test").
VERIFICATION: The CD searches for the correct command reply
codes and the correct message identification number in the mail
message.
SUCCESS: The CD receives the correct error reply code of 550 to
the RCPT command with the nonexistent user and the correct
message identification number is received for the valid message.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command replies other than those listed above received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
12 March 1987 -32- Unisys Corporation
TM-WD-8801/610/01
Scenario r_timestamp
Scenario r_timestamp tests the Receiver-SMTP capability to affix
a timestamp to the beginning of the mail message upon receipt.
TEST 38: MESSAGE TIMESTAMP
Does the IUT affix a timestamp to the beginning of the mail
message.
ACTION: The CD establishes a connection with the IUT. The CD
completes a normal mail transaction. The CD commands the RD to
spool the message.
VERIFICATION: The CD searches for the correct command reply
codes and the correct reverse-path name in the mail message.
SUCCESS: The CD receives successful command replies and the
correct timestamp is prepended to the message.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command reply errors;
Timestamp wrong or nonexistent;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario s_replybad
Scenario s_replybad tests the Server-SMTP IUT capability to
correctly process an incorrect command reply from the peer
Receiver-SMTP.
TEST 39: INCORRECT RECEIVER REPLIES
Does the IUT correctly process incorrect command replies from the
peer Receiver-SMTP?
ACTION: The CD establishes a connection with the IUT. The CD
commands the RD to place a mail message with a known message
identification number onto the IUT mail queue. The CD commands
the Reference Receiver-SMTP to listen for a connection attempt
from the IUT. The Sender SMTP IUT should find the message in the
queue and initiate a mail transaction with the Reference
Receiver-SMTP. The Reference Receiver-SMTP replies correctly to
the connection opening and the HELO, MAIL, and RCPT commands, but
replies incorrectly to the DATA command. The IUT should attempt
to reset the connection with the RSET command and then complete
the mail transaction.
12 March 1987 -33- Unisys Corporation
TM-WD-8801/610/01
VERIFICATION: The CD searches for the correct commands and the
correct message id number.
SUCCESS: The CD receives the correct commands and the correct
message id number.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Incorrect commands received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_transpar
Scenario r_transpar tests the Receiver-SMTP IUT capability to
correctly process the data transparency sequence.
TEST 40: DATA TRANSPARENCY SEQUENCE
Does the IUT correctly process the data transparency sequence?
ACTION: The CD establishes a connection with the IUT. The CD
initiates a normal mail transaction. The mail message data
contains an embedded end-of-data sequence followed by a known
identification number or string.
VERIFICATION: The CD searches for the correct command reply
codes and the correct message identification string.
SUCCESS: The CD receives the correct command reply codes and the
correct message identification number or string.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Incorrect reply codes received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_longcmd
Scenario r_longcmd tests the Receiver-SMTP IUT capability to
correctly process a command line longer than the allowed 512
bytes.
12 March 1987 -34- Unisys Corporation
TM-WD-8801/610/01
TEST 41: EXCESSIVELY LONG COMMAND LINE
Does the IUT correctly process an excessively long command line?
ACTION: The CD establishes a connection with the IUT. The CD
initiates a normal mail transaction. The CD sends a command line
exceeding 512 bytes in length.
VERIFICATION: The CD searches for the correct command error
reply and the correct message id number.
SUCCESS: The CD receives the correct command error reply of
either 500 or 501 and the correct message id number.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Successful command reply received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_longtext
Scenario r_longtext tests the Receiver-SMTP IUT capability to
correctly process a text line exceeding the allowed 1000 bytes.
TEST 42: EXCESSIVELY LONG TEXT LINE
Does the IUT correctly process text lines exceeding 1000 bytes in
length?
ACTION: The CD establishes a connection with the IUT. The CD
initiates a normal mail transaction. The CD sends a text line
exceeding 1000 bytes in length.
VERIFICATION: The CD searches for the correct command error
reply and the correct message id number.
SUCCESS: The CD receives the correct command error reply of
either 500 or 501 and the correct message id number.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Successful command reply received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
12 March 1987 -35- Unisys Corporation
TM-WD-8801/610/01
Scenario s_longline
Scenario s_longline tests the Server-SMTP IUT capability to
correctly process an excessively long reply line.
TEST 43: EXCESSIVELY LONG REPLY LINE
Does the IUT correctly process reply lines exceeding the allowed
512 bytes?
ACTION: The CD establishes a connection with the IUT. The CD
command the RD to place a message with a known message
identification number onto the IUT mail queue. The CD commands
the Reference Receiver-SMTP to listen for a connection attempt
from the IUT. The Sender-SMTP IUT should find the message in the
queue and initiate a mail transaction with the Reference
Receiver-SMTP. The Reference Receiver-SMTP replies correctly to
the connection opening and the HELO command, but replies
incorrectly to the MAIL command. The IUT should attempt to reset
the connection with the RSET command and then complete the mail
transaction.
VERIFICATION: The CD searches for the correct commands and the
correct message id number.
SUCCESS: The CD receives the correct commands and the correct
message id number.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Incorrect commands received;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario r_ascii
Scenario r_ascii tests the Receiver-SMTP IUT capability to
correctly process all printable ASCII characters as mail data.
TEST 44: ASCII DATA
Does the IUT correctly process all the printable ASCII characters
as mail data?
ACTION: The CD establishes a connection with the IUT. The CD
initiates a normal mail transaction. The CD sends all the
printable ASCII characters as mail data along with a message
identification number. The CD completes the transaction
normally.
12 March 1987 -36- Unisys Corporation
TM-WD-8801/610/01
VERIFICATION: The CD searches for the correct command replies,
the ASCII characters in the mail message, and the correct message
identification number.
SUCCESS: The CD receives the correct command replies, the ASCII
characters, and the correct message identification number.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Command error replies received;
All ASCII characters not received correctly;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
Scenario s_ascii
Scenario s_ascii tests the Sender-SMTP IUT capability to send all
the printable ASCII characters as mail data.
TEST 45: ASCII DATA
Does the IUT correctly process all the printable ASCII characters
as mail data?
ACTION: The CD establishes a connection with the IUT. The CD
commands the RD to place a mail message containing all the
printable ASCII characters and a known identification string onto
the IUT mail queue. The IUT should mail the message to the
Reference Receiver-SMTP.
VERIFICATION: The CD searches for the correct commands and the
correct mail data in the mail message.
SUCCESS: The CD receives the correct commands and the correct
ASCII characters and identification string in the mail message.
FAILURE: Any of the following indicates an IUT failure:
Connection not made;
Incorrect commands received;
All ASCII characters not received,:
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Message id is wrong or nonexistent.
12 March 1987 -37- Unisys Corporation
TM-WD-8801/610/01
Scenario r_multismtp
Scenario r_multismtp tests the Receiver-SMTP capability to
process two or more simultaneous SMTP transactions. This
scenario requires multiple Lab Drivers.
TEST 46: MULTIPLE SMTP
Does the IUT correctly process multiple, simultaneous SMTP
transactions?
ACTION: The CD establishes multiple connections with the IUT.
The CD executes a normal mail transaction for each connection:
VERIFICATION: The CD searches for the correct command replies
and correct message identification numbers for each connection:
SUCCESS: The CD receives the correct command replies and correct
message id numbers for each connection:
FAILURE: Any of the following indicates an IUT failure:
Any of the connections not made;
RD does not correctly interpret CD commands, or
acknowledge CD commands, or format IUT responses;
Any message id is wrong or nonexistent.